package Covid3;

import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

public class Covid3Reducer extends Reducer<CovidBean2, Text,CovidBean2,Text> {

    @Override
    protected void reduce(CovidBean2 key, Iterable<Text> values, Reducer<CovidBean2, Text, CovidBean2, Text>.Context context) throws IOException, InterruptedException {
        for (Text v:values)
        {
            context.write(key,v);
        }
    }
}
